<div id="showimg" class="cl-left">
    <p id="slide_bg">
    <?php if(!empty($slides)): ?>
	    <?php foreach($slides as $slide): ?>
	    	<?php if(is_file("admin/".$slide['slide_image_thumb'])):?>
    		  <img  src="admin/<?=$slide['slide_image_thumb']?>" alt="<?php if($slide['slide_des'] != '') echo $this->_helper->limited_word($slide['slide_des'],30);?>"/>
            <?php else:?>
              <img src="admin/assets/uploads/images/slides/imgerr.jpg" />
            <?php endif;?>
            <?php if($slide['slide_link'] != "#"):?>
                <a href="<?=$slide['slide_link']?>"></a>
            <?php else:?>
                <a href="#"></a>
            <?php endif;?>
		<?php endforeach; ?>
    <?php endif; ?>
    </p>

</div><!--End of #showimg -->

<script type="text/javascript">
        jQuery(document).ready( function(){

			jQuery('#slide_bg').jqFancyTransitions({
				width: 459,
				height: 349,
				titleOpacity: 0.7,
				delay: 4000,
                titleSpeed: 1300,
                links: true
			});
		});
</script>